package o;

import android.content.Context;
import android.text.TextUtils;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import o.alj.a;

public class evm {
    private static evm ˋ;
    private static final ExecutorService ˏ = Executors.newFixedThreadPool(2);
    private a ˎ = null;
    private amn ॱ = null;

    private evm() {
        ˏ();
    }

    public static synchronized evm ॱ() {
        evm o_evm;
        synchronized (evm.class) {
            if (ˋ == null) {
                ˋ = new evm();
            }
            o_evm = ˋ;
        }
        return o_evm;
    }

    private void ˏ() {
        Context ˋ = ContentManager.getInstant().getContext();
        this.ˎ = new aln(ˋ, anr.ॱ(ˋ, "huawei"));
        this.ॱ = new amn(evl.ˋ(ˋ, "exoplay"), new amp(41943040));
    }

    public amn ˋ() {
        if (this.ॱ == null) {
            ˏ();
        }
        return this.ॱ;
    }

    public void ॱ(String str) {
        if (!TextUtils.isEmpty(str)) {
            if (this.ˎ == null || this.ॱ == null) {
                ˏ();
            }
            ˏ.execute(new 3(this, str));
        }
    }
}
